home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 1 / CD Fun House (Wayzata Technology).iso / •AdventureLand• / Adventures / HyperQuest 1.03 ••• / HyperQuest 1.03 еее / card_28289.txt < prev    next >
Text File  |  1990-10-02  |  7KB  |  321 lines

  1. -- card: 28289 from stack: in.03 –µ–µ–µ
  2. -- bmap block id: 4367
  3. -- flags: 0000
  4. -- background id: 2766
  5. -- name: 
  6. ----- HyperTalk script -----
  7. on openCard
  8.   send cardOpened to background
  9. end openCard
  10.  
  11. on move
  12.   global direction,blastDam,holeDam,chase,blasting
  13.   if direction = "east" then
  14.     go to card id 28895
  15.     exit move
  16.   end if
  17.   if direction = "west" then
  18.     go to card id 27307
  19.     exit move
  20.   end if
  21.   if direction = "down" then
  22.     answer "Into the dam room, or the dry reservoir?" with "dam room" or "reservoir"
  23.     if it="dam room" then
  24.       go to card id 27307
  25.     else
  26.       go to card id 28895
  27.     end if
  28.     exit move
  29.   end if
  30.   pass move
  31. end move
  32.  
  33.  
  34. on closeCard
  35.   set the cursor to 4
  36.   put "" into field 3
  37. end closeCard
  38.  
  39. on take
  40.   global object,carried
  41.   -- remember to update carried if you do not pass take
  42.   pass take
  43. end take
  44.  
  45. on drop
  46.   global object,dropRoom,carried,holeDam
  47.   answer "Drop object where (dam, room, or reservoir)?" with "reservoir" or "dam room" or "on dam"
  48.   if it="dam room" then put "27307" into dropRoom
  49.   if it="reservoir" then put "28895" into dropRoom
  50.   -- remember to update carried if you do not pass drop
  51.   pass drop
  52. end drop
  53.  
  54. on use
  55.   global object,carried
  56.   -- update carried if use results in loss of object
  57.   pass use
  58. end use
  59.  
  60.  
  61.  
  62. -- part 16 (button)
  63. -- low flags: 80
  64. -- high flags: 2000
  65. -- rect: left=122 top=230 right=266 bottom=156
  66. -- title width / last selected line: 0
  67. -- icon id / first selected line: 9301 / 9301
  68. -- text alignment: 1
  69. -- font id: 0
  70. -- text size: 12
  71. -- style flags: 0
  72. -- line height: 16
  73. -- part name: knife
  74. ----- HyperTalk script -----
  75. on mouseUp
  76.   global takeFlag,examFlag,object,cardID
  77.   put the name of the target into object
  78.   if takeFlag = true
  79.   then send take to card id cardID
  80. else put "a knife" into field 3
  81. put false into examFlag
  82. end mouseUp
  83.  
  84.  
  85.  
  86. -- part 17 (button)
  87. -- low flags: 80
  88. -- high flags: 2000
  89. -- rect: left=89 top=195 right=231 bottom=123
  90. -- title width / last selected line: 0
  91. -- icon id / first selected line: 1015 / 1015
  92. -- text alignment: 1
  93. -- font id: 0
  94. -- text size: 12
  95. -- style flags: 0
  96. -- line height: 16
  97. -- part name: nodule
  98. ----- HyperTalk script -----
  99. on mouseUp
  100.   global takeFlag,examFlag,object,cardID
  101.   put the name of the target into object
  102.   if takeFlag = true
  103.   then send take to card id cardID
  104. else put "a silicon sphere" into field 3
  105. put false into examFlag
  106. end mouseUp
  107.  
  108.  
  109.  
  110. -- part 18 (button)
  111. -- low flags: 80
  112. -- high flags: 2000
  113. -- rect: left=122 top=195 right=231 bottom=156
  114. -- title width / last selected line: 0
  115. -- icon id / first selected line: 14953 / 14953
  116. -- text alignment: 1
  117. -- font id: 0
  118. -- text size: 12
  119. -- style flags: 0
  120. -- line height: 16
  121. -- part name: ladder
  122. ----- HyperTalk script -----
  123. on mouseUp
  124.   global takeFlag,examFlag,object,cardID
  125.   put the name of the target into object
  126.   if takeFlag = true
  127.   then send take to card id cardID
  128. else put "a rope ladder" into field 3
  129. put false into examFlag
  130. end mouseUp
  131.  
  132.  
  133.  
  134. -- part 19 (button)
  135. -- low flags: 80
  136. -- high flags: 2000
  137. -- rect: left=122 top=160 right=196 bottom=156
  138. -- title width / last selected line: 0
  139. -- icon id / first selected line: 1019 / 1019
  140. -- text alignment: 1
  141. -- font id: 0
  142. -- text size: 12
  143. -- style flags: 0
  144. -- line height: 16
  145. -- part name: bomb
  146. ----- HyperTalk script -----
  147. on mouseUp
  148.   global takeFlag,examFlag,object,cardID
  149.   put the name of the target into object
  150.   if takeFlag = true
  151.   then send take to card id cardID
  152. else put "a time bomb" into field 3
  153. put false into examFlag
  154. end mouseUp
  155.  
  156.  
  157.  
  158. -- part 20 (button)
  159. -- low flags: 80
  160. -- high flags: 2000
  161. -- rect: left=89 top=160 right=196 bottom=123
  162. -- title width / last selected line: 0
  163. -- icon id / first selected line: 24317 / 24317
  164. -- text alignment: 1
  165. -- font id: 0
  166. -- text size: 12
  167. -- style flags: 0
  168. -- line height: 16
  169. -- part name: key
  170. ----- HyperTalk script -----
  171. on mouseUp
  172.   global takeFlag,examFlag,object,cardID
  173.   put the name of the target into object
  174.   if takeFlag = true
  175.   then send take to card id cardID
  176. else put "a key" into field 3
  177. put false into examFlag
  178. end mouseUp
  179.  
  180.  
  181.  
  182. -- part 21 (button)
  183. -- low flags: 80
  184. -- high flags: 2000
  185. -- rect: left=113 top=125 right=161 bottom=147
  186. -- title width / last selected line: 0
  187. -- icon id / first selected line: 7012 / 7012
  188. -- text alignment: 1
  189. -- font id: 0
  190. -- text size: 12
  191. -- style flags: 0
  192. -- line height: 16
  193. -- part name: gem
  194. ----- HyperTalk script -----
  195. on mouseUp
  196.   global takeFlag,examFlag,object,cardID
  197.   put the name of the target into object
  198.   if takeFlag = true
  199.   then send take to card id cardID
  200. else put "a glowing gem" into field 3
  201. put false into examFlag
  202. end mouseUp
  203.  
  204.  
  205.  
  206. -- part 22 (button)
  207. -- low flags: 80
  208. -- high flags: 2000
  209. -- rect: left=80 top=125 right=161 bottom=114
  210. -- title width / last selected line: 0
  211. -- icon id / first selected line: 23078 / 23078
  212. -- text alignment: 1
  213. -- font id: 0
  214. -- text size: 12
  215. -- style flags: 0
  216. -- line height: 16
  217. -- part name: orb
  218. ----- HyperTalk script -----
  219. on mouseUp
  220.   global takeFlag,examFlag,object,cardID
  221.   put the name of the target into object
  222.   if takeFlag = true
  223.   then send take to card id cardID
  224. else put "a crystal orb" into field 3
  225. put false into examFlag
  226. end mouseUp
  227.  
  228.  
  229.  
  230. -- part 23 (button)
  231. -- low flags: 00
  232. -- high flags: 0000
  233. -- rect: left=173 top=225 right=265 bottom=253
  234. -- title width / last selected line: 0
  235. -- icon id / first selected line: 0 / 0
  236. -- text alignment: 1
  237. -- font id: 0
  238. -- text size: 12
  239. -- style flags: 0
  240. -- line height: 16
  241. -- part name: 
  242. ----- HyperTalk script -----
  243. on mouseUp
  244.   global examFlag,direction,cardID
  245.   if examFlag then
  246.     put "a dry (although slightly damp) reservoir" into field 3
  247.     put false into examFlag
  248.   else
  249.     put "east" into direction
  250.     send move to card id cardID
  251.   end if
  252. end mouseUp
  253.  
  254.  
  255.  
  256. -- part 42 (button)
  257. -- low flags: 00
  258. -- high flags: 0000
  259. -- rect: left=2 top=98 right=133 bottom=38
  260. -- title width / last selected line: 0
  261. -- icon id / first selected line: 0 / 0
  262. -- text alignment: 1
  263. -- font id: 0
  264. -- text size: 12
  265. -- style flags: 0
  266. -- line height: 16
  267. -- part name: 
  268. ----- HyperTalk script -----
  269. on mouseUp
  270.   global examFlag,direction,cardID,takeFlag
  271.   if examFlag then
  272.     put "a tunnel leading north from the dam room." into field 3
  273.     put false into examFlag
  274.   else
  275.     put false into takeFlag
  276.     beep
  277.     put "Get off the dam first." into field 3
  278.   end if
  279. end mouseUp
  280.  
  281.  
  282.  
  283. -- part 43 (button)
  284. -- low flags: 00
  285. -- high flags: 0000
  286. -- rect: left=1 top=137 right=263 bottom=43
  287. -- title width / last selected line: 0
  288. -- icon id / first selected line: 0 / 0
  289. -- text alignment: 1
  290. -- font id: 0
  291. -- text size: 12
  292. -- style flags: 0
  293. -- line height: 16
  294. -- part name: 
  295. ----- HyperTalk script -----
  296. on mouseUp
  297.   global examFlag,direction,cardID
  298.   if examFlag then
  299.     put "the dam room." into field 3
  300.     put false into examFlag
  301.   else
  302.     put "west" into direction
  303.     send move to card id cardID
  304.   end if
  305. end mouseUp
  306.  
  307.  
  308.  
  309. -- part contents for background part 25
  310. ----- text -----
  311. Top of Crystal Dam
  312. (looking north)
  313.  
  314. -- part contents for background part 24
  315. ----- text -----
  316. You are on top of the crystal dam.  The dam is about two feet wide at the top.  Down to the west is a large room.  Down to the east is a very large reservoir, now empty.
  317.  
  318.  
  319. -- part contents for background part 36
  320. ----- text -----
  321. 1